<link rel="stylesheet" href="../src/css/pages/videoManage.css">


<div class="video-container">

<div class="container-fluid "  id="video-container">
    <div class="row">
        <div class="col-md-12">
            <button type="button" class="btn btn-primary btn-sm btn-top btn-upload"><strong>{{i18n-uploadVideo}} </strong></button>
        </div>
    </div>
    <div class="row filter-area">
        <div class="col-md-2">
            <h5>{{i18n-h5TagSearch}} :</h5>
        </div>
        <div class="col-md-2">
            <select name="owner-select" style="width:100%">
                <option value="true"> {{i18n-optionMyVideo}} </option>
                <option value="false"> {{i18n-optionOtherVideo}} </option>
            </select>
        </div>
        <div class="col-md-4">
            <select name="app-select" style="width:100%">
                <option value=""> {{i18n-optionAllAppTags}} </option>
            </select>
        </div>
        <div class="col-md-4 pull-right">
            <button type="button" class="btn btn-primary btn-sm btn-search pull-right" style="border-radius: 0;">{{i18n-searchBtn}} </button>
        </div>
    </div>
    <div class="row" style="margin-top: 20px;">
        <div class="col-md-12 pt30">
            <div class="video-table">
                <table list-manager="ad-video">
                    <thead>
                        <tr>
                            <th th-name="order" width="40px">{{i18n-thOrder}}</th>
                            <th th-name="video" width="160px">{{i18n-thVideo}}</th>
                            <th th-name="name">{{i18n-thVideoName}}</th>
                            <th th-name="size">{{i18n-thVideoSize}}</th>
                            <th th-name="uploader">{{i18n-thUploader}}</th>
                            <th th-name="uploadtime">{{i18n-thUploadTime}}</th>
                        </tr>
                    </thead>
                    <tbody>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
</div>
<!-- 视频播放 -->
<div class="modal fade" id="player-video-modal">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title"></h4>
            </div>
            <div class="modal-body">
                <div align="center" class="embed-responsive embed-responsive-16by9">
                </div>
            </div>
        </div>
    </div>
</div>
<!-- /视频播放 -->
<!-- 视频上传 -->
<div class="modal fade" id="upload-video-modal">
    <div class="modal-dialog  modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title" id="myModalLabel">{{i18n-uploadVideo}} </h4>
            </div>
            <div class="modal-body">
                <div class="modal-alert" style="display: block;border: 0;background:transparent;text-align: left;padding-left: 20px;  padding-top: 5px;">
                </div>
                <div class="row">
                    <div class="col-sm-12 upload-area">
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <div class="row">
                    <div class="col-md-1 text-right" style="padding-right:0px;">
                        <h6>{{i18n-h6UploadTo}}
                            <span class="red">*</span>
                        </h6>
                    </div>
                    <div class="col-md-4">
                        <select name="modal-app-select" style="width: 100%" class="form-control">
                            <option value="">{{i18n-optionPlsApp}} </option>
                        </select>
                    </div>
                    <div class="col-md-7">
                        <button type="button" class="btn btn-default hide" data-dismiss="modal" id="modal-btn-finish">{{i18n-doneBtn}} </button>
                        <button type="button" class="btn btn-default" id="modal-btn-edit">{{i18n-tagsBtn}} </button>
                        <button type="button" class="btn btn-primary" id="modal-btn-upload">{{i18n-uploadBtn}} </button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- /视频上传 -->
<!-- 视频列表 tr-->
<script type="text/x-template" id="t-video-list-tr">
    <tr>
        <td scope="row" class="text-center">
            <%=d.id%>
        </td>
        <td>
            <a href="javascript:;">
                <div class="player-video" data-title="<%=d.name%>" data-video-url="<%=d.visitPath%>">
                    <img src="<%=d.litImgURL%>" class="img-responsive">
                </div>
                <!--
                <div align="center" class="embed-responsive embed-responsive-16by9">
                    <video class="embed-responsive-item player-video" data-title="<%=d.name%>" data-video-url="<%=d.visitPath%>">
                        <source type=video/mp4 src="<%=d.visitPath%>">
                    </video>
                </div>
                -->
            </a>
        </td>
        <td>
            <%=d.name%>
        </td>
        <td>
            <%=d.size%>
        </td>
        <td>
            <%=d.uploadUserName%>
        </td>
        <td>
            <%=d.uploadTime%>
        </td>
    </tr>
</script>
